package com.kfm.base.io.c;

import java.io.FileWriter;
import java.io.IOException;

public class Demo05 {

    public static void main(String[] args) {
        try(FileWriter fw = new FileWriter("d:/io/writer.txt");){
            fw.write('啊');

            fw.write("\r\n");

            fw.write("今天天气真好！");

        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
